<div class="r_box1">
                <h3><a href="/meinv/" class="more"></a><span><em>美女</em>总排行榜</span></h3>
                <dl class="top_ph">
                    <dt><span class="top_ph1">排名</span><span class="top_ph2">名称</span><span class="top_ph3">浏览量</span></dt>
                    <?php foreach($stars as $key => $star):?>
    <dd>
                            <span class="top_ph1">
                                <em <?php if($key < 3) echo 'class="num',$key + 1,'"';?>><?=$key+1?></em>
                                <a target="_blank" title="<?=$star['name']?>（<?=$star['nick_name']?>）"  href="/meinv/<?=$star['id']?>.html">
                                    <img title="<?=$star['name']?>（<?=$star['nick_name']?>）" alt="<?=$star['name']?>（<?=$star['nick_name']?>）" src="<?=$star['header']?>" />
                                </a>
                            </span>
                            <span class="top_ph2">
                                <a title="<?=$star['name']?>（<?=$star['nick_name']?>）" target="_blank" href="/meinv/<?=$star['id']?>.html"><?=$star['name']?></a>
                            </span>
        <span class="top_ph3"><?=$star['view']?></span>
    </dd>
<?php endforeach;?>
</dl>
</div>
<br/>